/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.sunspotworld;

import com.sun.spot.core.resources.transducers.LEDColor;

/**
 *
 * @author me
 */
public class Producer extends MyThread {
    private Buffer queue;
    private LEDColor color;

    protected Producer(LEDColor col, Buffer q) {
        queue=q;
        color = col;
    }

    protected void doStuff() {
        queue.enqueue(color);
    }
}
